<!--
 * @Descripttion: 
 * @version: 
 * @Author: wtzhang
 * @Date: 2020-12-21 22:29:44
 * @LastEditors: wtzhang
 * @LastEditTime: 2021-07-13 09:09:56
-->
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>贪吃蛇</title>
</head>
<body>
    <!--创建游戏的主容器-->
    <div id="main">
        <h3 style="text-align: center;">简易贪吃蛇</h3>
        <!--设置游戏的舞台-->
        <div id="stage">
            <!--设置蛇-->
            <div id="snake">
                <!--snake内部的div 表示蛇的各部分-->
                <div></div>
            </div>

            <!--设置食物-->
            <div id="food">
                <!--添加四个小div 来设置食物的样式-->
                <div></div>
                <div></div>
                <div></div>
                <div></div>
            </div>
        </div>

        <!--设置游戏的积分牌-->
        <div id="score-panel">
            <div>
                Score:<span id="score">0</span>
            </div>
            <div>
                Level:<span id="level">1</span>
            </div>
        </div>
    </div>
</body>
</html>
